package com.fanghuaiming.ml.order.dao.mapper;

import com.fanghuaiming.ml.order.dao.model.MessageListOrder;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/****
 * @description: 订单dao操作接口
 * @version:1.0.0
 * @author fanghuaiming
 * @data Created in 2020/11/27 下午1:57
 *
 */
@Repository
public interface MessageListOrderMapper {

    /**
     * @Description: 查询订单
     *
     * @param:
     * @return:
     * @auther: fanghuaiming
     * @date: 2020/12/4 下午2:44
     * @version:1.0.0
     */
    MessageListOrder selectByOrderId(@Param("orderId") Long orderId);

    /**
     * @Description: 更新订单信息
     *
     * @param:
     * @return:
     * @auther: fanghuaiming
     * @date: 2020/12/4 下午2:48
     * @version:1.0.0
     */
    void updateOrderById(MessageListOrder messageListOrder);
}
